<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>InFact: infact::Environment Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">InFact
   
   </div>
   <div id="projectbrief">Interpreter and factory for easily creating C++ objects at run-time</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceinfact.html">infact</a>      </li>
      <li class="navelem"><a class="el" href="classinfact_1_1_environment.html">Environment</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">infact::Environment Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="infact::Environment" -->
<p>An interface for an environment in which variables of various types are mapped to their values.  
 <a href="classinfact_1_1_environment.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="environment_8h_source.html">environment.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for infact::Environment:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classinfact_1_1_environment.png" usemap="#infact::Environment_map" alt=""/>
  <map id="infact::Environment_map" name="infact::Environment_map">
<area href="classinfact_1_1_environment_impl.html" title="Provides a set of named variables and their types, as well as the values for those variables..." alt="infact::EnvironmentImpl" shape="rect" coords="0,56,141,80"/>
</map>
 </div></div>

<p><a href="classinfact_1_1_environment-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#af27e64c08b07affe9aaa4690f755859d">~Environment</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#a38809f4fd9d52f790abcec2c7aa169f8">Defined</a> (const string &amp;varname) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the specified variable has been defined in this environment.  <a href="#a38809f4fd9d52f790abcec2c7aa169f8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#aab3e8026af3825eb80cd54e89c9379bd">ReadAndSet</a> (const string &amp;varname, <a class="el" href="classinfact_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;st, const string type=&quot;&quot;)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the specified variable to the value obtained from the following tokens available from the specified token stream.  <a href="#aab3e8026af3825eb80cd54e89c9379bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#a2ccb9f963c093da31f504bd4021682a5">GetType</a> (const string &amp;varname) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the type name of the specified variable.  <a href="#a2ccb9f963c093da31f504bd4021682a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#a96f39caaea04c08e5da848f74e26927a">GetVarMap</a> (const string &amp;varname)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance for the specified variable.  <a href="#a96f39caaea04c08e5da848f74e26927a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#a2b6540ed1500ea5cf0c04e9175fc76fa">GetVarMapForType</a> (const string &amp;type)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance for the specified type, or nullptr if there is no such <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a>.  <a href="#a2b6540ed1500ea5cf0c04e9175fc76fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#a5771d2fcfc6804cb91a651b2df32effa">Print</a> (ostream &amp;os) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints a human-readable string of all the variables in this environment, their types and, if primitive, their values.  <a href="#a5771d2fcfc6804cb91a651b2df32effa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classinfact_1_1_environment.html">Environment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#ade64259636e7933ff9f02d46bda298e6">Copy</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of this environment.  <a href="#ade64259636e7933ff9f02d46bda298e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#a98abc4bc53e0223d005e5c66eb59cf70">PrintFactories</a> (ostream &amp;os) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints out a human-readable string with the names of all abstract base types and their concrete implementations that may be constructed.  <a href="#a98abc4bc53e0223d005e5c66eb59cf70"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classinfact_1_1_environment.html">Environment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_environment.html#ac155016aa1651ef2303906fa24976771">CreateEmpty</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A static factory method to create a new, empty <a class="el" href="classinfact_1_1_environment.html" title="An interface for an environment in which variables of various types are mapped to their values...">Environment</a> instance.  <a href="#ac155016aa1651ef2303906fa24976771"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An interface for an environment in which variables of various types are mapped to their values. </p>

<p>Definition at line <a class="el" href="environment_8h_source.html#l00126">126</a> of file <a class="el" href="environment_8h_source.html">environment.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af27e64c08b07affe9aaa4690f755859d"></a><!-- doxytag: member="infact::Environment::~Environment" ref="af27e64c08b07affe9aaa4690f755859d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_environment.html#af27e64c08b07affe9aaa4690f755859d">infact::Environment::~Environment</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="environment_8h_source.html#l00128">128</a> of file <a class="el" href="environment_8h_source.html">environment.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ade64259636e7933ff9f02d46bda298e6"></a><!-- doxytag: member="infact::Environment::Copy" ref="ade64259636e7933ff9f02d46bda298e6" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_environment.html">Environment</a>* <a class="el" href="classinfact_1_1_environment.html#ade64259636e7933ff9f02d46bda298e6">infact::Environment::Copy</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a copy of this environment. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#afba2b4f35f17aec2a80e7b07cb87b157">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="ac155016aa1651ef2303906fa24976771"></a><!-- doxytag: member="infact::Environment::CreateEmpty" ref="ac155016aa1651ef2303906fa24976771" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classinfact_1_1_environment.html">Environment</a> * <a class="el" href="classinfact_1_1_environment.html#ac155016aa1651ef2303906fa24976771">infact::Environment::CreateEmpty</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A static factory method to create a new, empty <a class="el" href="classinfact_1_1_environment.html" title="An interface for an environment in which variables of various types are mapped to their values...">Environment</a> instance. </p>

<p>Definition at line <a class="el" href="environment_8cc_source.html#l00043">43</a> of file <a class="el" href="environment_8cc_source.html">environment.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a38809f4fd9d52f790abcec2c7aa169f8"></a><!-- doxytag: member="infact::Environment::Defined" ref="a38809f4fd9d52f790abcec2c7aa169f8" args="(const string &amp;varname) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classinfact_1_1_environment.html#a38809f4fd9d52f790abcec2c7aa169f8">infact::Environment::Defined</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>varname</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the specified variable has been defined in this environment. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#a860456940cd44b37ed32f68da30c4b59">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="a2ccb9f963c093da31f504bd4021682a5"></a><!-- doxytag: member="infact::Environment::GetType" ref="a2ccb9f963c093da31f504bd4021682a5" args="(const string &amp;varname) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const string&amp; <a class="el" href="classinfact_1_1_environment.html#a2ccb9f963c093da31f504bd4021682a5">infact::Environment::GetType</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>varname</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the type name of the specified variable. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#a7e0f9fb13e56dbcff3bc758ee891c576">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="a96f39caaea04c08e5da848f74e26927a"></a><!-- doxytag: member="infact::Environment::GetVarMap" ref="a96f39caaea04c08e5da848f74e26927a" args="(const string &amp;varname)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a>* <a class="el" href="classinfact_1_1_environment.html#a96f39caaea04c08e5da848f74e26927a">infact::Environment::GetVarMap</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>varname</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance for the specified variable. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#ae782bde5b379605f086aa228786e1614">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="a2b6540ed1500ea5cf0c04e9175fc76fa"></a><!-- doxytag: member="infact::Environment::GetVarMapForType" ref="a2b6540ed1500ea5cf0c04e9175fc76fa" args="(const string &amp;type)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a>* <a class="el" href="classinfact_1_1_environment.html#a2b6540ed1500ea5cf0c04e9175fc76fa">infact::Environment::GetVarMapForType</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> instance for the specified type, or nullptr if there is no such <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a>. </p>
<p>The specified type must either be a primitive type, a primitive vector type, a <a class="el" href="classinfact_1_1_factory.html">Factory</a>-constructible type or a vector of <a class="el" href="classinfact_1_1_factory.html">Factory</a>-constructible types.</p>
<p>If the specified type is a concrete implementation of a <a class="el" href="classinfact_1_1_factory.html">Factory</a>-constructible type, then the pointer to the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> for its abstract base type is returned; for example, if the specified type is <code>"RankFeatureExtactor"</code> then this method will return the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> containing <code>"FeatureExtractor"</code> instances.</p>
<p>TODO(dbikel): Support returning the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> for vectors of abstract type when the user specifies a vector of concrete type. E.g., if the specified type is "RankFeatureExtractor[]" then this method should return the <a class="el" href="classinfact_1_1_var_map.html" title="A container to hold the mapping between named variables of a specific type and their values...">VarMap</a> containing "FeatureExtractor[]" instances. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#a5433284710ffbf5ce5d5a83c7b275d96">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="a5771d2fcfc6804cb91a651b2df32effa"></a><!-- doxytag: member="infact::Environment::Print" ref="a5771d2fcfc6804cb91a651b2df32effa" args="(ostream &amp;os) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classinfact_1_1_environment.html#a5771d2fcfc6804cb91a651b2df32effa">infact::Environment::Print</a> </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints a human-readable string of all the variables in this environment, their types and, if primitive, their values. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#aff054f1a302a29895153659a64a3640f">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="a98abc4bc53e0223d005e5c66eb59cf70"></a><!-- doxytag: member="infact::Environment::PrintFactories" ref="a98abc4bc53e0223d005e5c66eb59cf70" args="(ostream &amp;os) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classinfact_1_1_environment.html#a98abc4bc53e0223d005e5c66eb59cf70">infact::Environment::PrintFactories</a> </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints out a human-readable string with the names of all abstract base types and their concrete implementations that may be constructed. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classinfact_1_1_factory_container.html#a418b82017d6262c1a91e3cc7b55bccca" title="Prints the base typenames for all factories along with a list of all concrete subtypes those factorie...">infact::FactoryContainer::Print</a> </dd></dl>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#ade3c929f1d27210acb6e72e18dce0fd5">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<a class="anchor" id="aab3e8026af3825eb80cd54e89c9379bd"></a><!-- doxytag: member="infact::Environment::ReadAndSet" ref="aab3e8026af3825eb80cd54e89c9379bd" args="(const string &amp;varname, StreamTokenizer &amp;st, const string type=&quot;&quot;)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classinfact_1_1_environment.html#aab3e8026af3825eb80cd54e89c9379bd">infact::Environment::ReadAndSet</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>varname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classinfact_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;&#160;</td>
          <td class="paramname"><em>st</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string&#160;</td>
          <td class="paramname"><em>type</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the specified variable to the value obtained from the following tokens available from the specified token stream. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_environment_impl.html#a08ed9a5a3af560d43a3b81f6d273fe73">infact::EnvironmentImpl</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/infact/<a class="el" href="environment_8h_source.html">environment.h</a></li>
<li>src/infact/<a class="el" href="environment_8cc_source.html">environment.cc</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 23 2014 10:07:52 for InFact by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
